package com.thinking.dubbo.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @ClassName BizException
 * @Description TODO
 * @Author tangsixiang@gmail.com
 * @Date 2023/6/5 18:10
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
public class BizException   extends RuntimeException {

    /**
     * 错误码
     */
    protected Integer errorCode;
    /**
     * 错误信息
     */
    protected String errorMsg;
}
